﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Practices.Prism.ViewModel;

namespace Payton.WP7.Common.Model
{
    public class ModelBase : NotificationObject
    {
        string sourceText;

        public string SourceText
        {
            get { return sourceText; }
            set { sourceText = value; }
        }

        public override string ToString()
        {
            if (string.IsNullOrEmpty(sourceText))
                return base.ToString();
            return sourceText;
            //return base.ToString();
        }

    }
}
